package com.codeoss.framework.db.service;

import java.sql.Connection;

import com.codeoss.framework.data.metadata.Column;
import com.codeoss.framework.data.metadata.Table;


/**
 * 数据库定义语言
 * @author nethaoke
 * 2020-06-04
 */
public interface IDDLService {
    public void createTable(Connection connection,Table table);
	
	public void createColumn(Connection connection,Table table,Column column);
	
	public void createUniqueIndex(Connection connection,Table table,Column column);
	
	public void createForeignKey(Connection connection,Table table,Column column);
	
	public void createView(Connection connection,Table table);
}
